﻿using NP.BPMReportPlatform.EmpCertification.Dto;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace NP.BPMReportPlatform.EmpCertification
{
    /// <summary>
    /// 员工证明接口服务
    /// </summary>
    public interface IEmpCertificationService : IApplicationService
    {
        /// <summary>
        /// 查询数据
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<GetEmpCertResultOutput>> GetAllResult(GetEmpCertResultInput input);

        /// <summary>
        /// 下载文件
        /// </summary>
        /// <param name="instanceNumber">流程号</param>
        /// <returns></returns>
        Task<byte[]> DownloadEmpCertificationUnEsign(string instanceNumber);
    }
}